import org.codehaus.jackson.map.ObjectMapper;
def jsonMapper = new ObjectMapper();

def obj_internal = [[lang:'java', level:'master'], [lang:'php', level:"familiar"]];

def obj = [1,3, ["name":"jiming", age:30], ['sina', 'sohu'], obj_internal];


println jsonMapper.writeValueAsString(obj);



